how to represent directed weighted graph using matrix

join shbcf.ru